/**
 * 
 */
/**
 * @author jhg
 *
 */

package cn.jhg.account.util;

import java.io.Serializable;

//{"status":xx,"data":xxx}
public class ServiceResult<T> implements Serializable{
	private int errorCode;
	private T data;
	
	public int getErrorCode() {
		return errorCode;
	}
	public void setErrorCode(int errorCode) {
		this.errorCode = errorCode;
	}
	public T getData() {
		return data;
	}
	public void setData(T data) {
		this.data = data;
	}
	@Override
	public String toString() {
		return "ServiceResult [errorCode=" + errorCode + ", data=" + data + "]";
	}
	
	
	
}